/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tp.Encapsulation;

/**
 *
 * @author Devon
 */
public
        class RunEncap
{

    public static
            void main(String args[])
    {
        Encap encap = new Encap();
        encap.setName("James");
        encap.setAge(20);
        encap.setIdNum("12343ms");

        System.out.print("Name : " + encap.getName()
                + " Age : " + encap.getAge());
    }
}
